﻿@model ISSMoviePlex.DAL.Models.Movie
@{
    int index = int.Parse(ViewData["index"].ToString()) + 1;
}

<div class="movie 
    @if (index % 6 == 0)
	{
        @:last
	}">
    <div class="movie-image">
        <span class="play" style="display: none;"><span class="name">@Model.MovieName</span></span>
        <a href="@Url.Action("Details", "Movie", new { MovieId = @Model.MovieId })">
            <img src="@Model.Poster" alt="" /></a>
    </div>
    @*<div class="rating">
        <p>
            RATING</p>
        <div class="stars">
            <div class="stars-in">
            </div>
        </div>
        <span class="comments">12</span>
    </div>*@
</div>

